package cn.kgc.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//  springboot项目的启动类         servlet+jsp  -> tomcat web容器
//  springboot项目中内嵌tomcat
@SpringBootApplication
@MapperScan("cn.kgc.web.mapper")
public class WebApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class,args);
    }

}
